home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
Cando v1.6 disk 2.adf
/
HelpFiles
/
Graphics, Advanced
< prev
next >
Wrap
Text File
|
1991-11-03
|
6KB
|
293 lines
C- AreaCopy |areacopy|
C- AreaScroll |areascroll|
C- ClearClipRegions |clearclipregions|
C- ClipBrush |clipbrush|
C- ClipPicture |clippicture|
V- ClipTransparentColor |cliptransparentcolor|
C- CycleColors |cyclecolors|
C- DrawBorder |drawborder|
C- GetTextDimensions |gettextdimensions|
C- InstallClipRegion |installclipregion|
C- LoadPalette |loadpalette|
C- SaveBrush |savebrush|
C- SavePicture |savepicture|
C- SetAreaDrawMode |setareadrawmode|
C- SetClipTransparentColor |setcliptransparentcolor|
C- SetDrawMode |setdrawmode|
C- ShowPalette |showpalette|
V- TheDrawMode |thedrawmode|
C- Transparent |transparent|
V- TransparentStatus |transparentstatus|
[E]
|areacopy|
WT AreaCopy {X}, {Y}, {Width}, {Height}, {DestX}, {DestY}
PL Copies an area of the window with the upper
PL corner at {X},{Y} and of the given size
PL {Width} and {Height} to the location with
PL an upper corner at {DestX},{DestY}.
PL
PT SEE ALSO:
BS AreaScroll
PT .
ED
|areascroll|
WT AreaScroll {X}, {Y}, {Width}, {Height}, {DeltaX}, {DeltaY}
PL Scrolls an area of the window with the upper
PL corner at {X},{X} and of the given size
PL {Width} and {Height} by the distance given
PL in {DeltaX},{DeltaY}.
PL
PT SEE ALSO:
BS AreaCopy
PT .
ED
|clearclipregions|
WT ClearClipRegions
PL Removes any and all clip regions created by
PT the
BS InstallClipRegion
PL command. See page
PL 6-35 in the supplement manual for a full
PL description of this command.
ED
|clipbrush|
WT ClipBrush {X}, {Y}, {Width}, {Height}, {BrushBufferName} [,<memflag>]
PL Grabs a portion of the current card's
PL window and stores it as a brush for future
PL use. See page 6-26 in the yellow manual
PL for a full description of this command.
PL
PT SEE ALSO:
BS ShowBrush
PT ,
BS SaveBrush
PT and
BS AreaCopy
PT .
ED
|clippicture|
WT ClipPicture {ImageBufferName} [,<memflag>]
PL Grabs the current card's window and stores
PL it as a picture for future use. See page
PL 6-26 in the yellow manual for a full
PL description of this command.
PL
PT SEE ALSO:
BS ShowPicture
PT and
BS SavePicture
PT .
ED
|cliptransparentcolor|
WT {Integer}=ClipTransparentColor
PL This returns the current transparent color
PL register for brush and picture clipping.
PL
PT SEE ALSO:
BS ClipBrush
PT ,
BS ClipPicture
PL and
PT
BS SetClipTransparentColor
PT .
ED
|cyclecolors|
WT CycleColors {FromColorReg}, {ToColorReg} [,<directionflags>]
PL Cycles the color registers in the current
PL window's palette. The range is from the
PL {FromColorReg} to the {ToColorReg}. See
PL page 6-32 in the yellow manual for a full
PL description of this command.
ED
|drawborder|
WT DrawBorder {X}, {Y}, {Width}, {Height}, <borderflags> [,{Pen1} [,{Pen2}]]
PL Draws a border rectangle according to the
PL specified border style. See next page for
PL a full listing of border flags or see page
PL 6-34 in the supplement manual for a full
PL description of this command.
NP drawborder2
ED
|drawborder2|
WT DrawBorder {X}, {Y}, {Width}, {Height}, <borderflags> [,{Pen1} [,{Pen2}]]
PL BorderFlags:
PL BOX, OUTLINE, DOUBLEOUTLINE, EMBOSSED,
PL HEAVYEMBOSSED, SHADOW, BEVEL, DOUBLEBEVEL,
PL BUTTONOUT, BUTTONIN, CHECKNO, CHECKYES,
PL ROLLO, UP, DOWN, RIGHT and LEFT.
PP drawborder
ED
|gettextdimensions|
WT GetTextDimensions {String}, <LengthVarName>, <HeightVarName> [,<BaselineVarName>]
PL This command will fill in the given
PL variables with the size of the string given
PL under current the font and style settings.
PL
PT SEE ALSO:
BS SetPrintFont
PT and
BS SetPrintStyle
PT .
ED
|installclipregion|
WT InstallClipRegion {X}, {Y}, {Width}, {Height} [,<methodflags>]
PL Creates a ClipRegion at the given location.
PL See page 6-36 in the supplement manual for a
PL for a full description of this command.
PL
PT SEE ALSO:
BS ClearClipRegions
PT .
ED
|loadpalette|
WT LoadPalette {FilePath} [,{PaletteBufferName} [,<loadflags>]]
PL This will load only the palette part of a
PL picture or brush. The resultant buffer can
PT be used only by the
BS ShowPalette
PL command.
PL See page 7-7 in the yellow manual for a
PL for a full description of the load flags.
ED
|savebrush|
WT SaveBrush {BrushBufferName} [,{SaveFilePath}]
PL Saves a brush buffer to a disk file.
PL See page 6-27 in the yellow manual for a
PL for a full description this command.
PL
PT SEE ALSO:
BS SavePicture
PT and
BS LoadBrush
PT .
ED
|savepicture|
WT SavePicture {PictureBufferName} [,{SaveFilePath}]
PL Saves a picture buffer to a disk file.
PL See page 6-27 in the yellow manual for a
PL for a full description this command.
PL
PT SEE ALSO:
BS SaveBrush
PT and
BS LoadPicture
PT .
ED
|setareadrawmode|
WT SetAreaDrawMode <flags>
PL The AreaDrawMode effects only Area commands.
PL If set to the default of NORMAL then areas
PT are drawn in a solid color using
BS PenA
PL . If
PT set to OUTLINE, the area is drawn with
BS PenA
PL
PT and outlined with
BS PenO
PL .
PT SEE ALSO:
BS SetPen
PT and
BS SetDrawMode
PT .
ED
|setcliptransparentcolor|
WT SetClipTransparentColor {ColorReg}
PL Sets the background color used in a
PL clipped brush. This color will be
PT transparent, if
BS Transparent
PL is set ON,
PT when displayed by
BS ShowBrush
PL .
PL
PT SEE ALSO:
BS ClipBrush
PT .
ED
|setdrawmode|
WT SetDrawMode <drawflags>
PT This command changes
BS TheDrawMode
PL , which
PL affects how pixels are drawn by all drawing
PL commands. See page 6-31 in the yellow
PL manual for a full description of this
PL command.
PT SEE ALSO:
BS SetAreaDrawMode
PT and
BS SetPen
PT .
ED
|showpalette|
WT ShowPalette {PaletteBufferName}
PL Changes the current card's window's palette
PL to the palette in the given buffer. The
PL buffer may be a Picture, Brush, BrushAnim or
PL Palette buffer.
PL
PT SEE ALSO:
BS SetRGB
PT and
BS LoadPalette
PT .
ED
|thedrawmode|
WT {string}=TheDrawMode
PL This returns the current drawmode as a
PL string.
PL
PT SEE ALSO:
BS SetDrawMode
PT .
ED
|transparent|
WT Transparent {Logical}
PL If this is false then brushes are shown with
PL no transparent parts. If it is true then
PL the brushes will have transparent parts,
PL whatever was transparent when clipped.
PT SEE ALSO:
BS SetClipTransparentColor
PL and
PT
BS TransparentStatus
PT .
ED
|transparentstatus|
WT {Logical}=TransparentStatus
PL This returns the current status of the
PL transparency mode.
PL
PT SEE ALSO:
BS Transparent
PT .
ED